package org.begincode.resource.service.impl;

import java.util.List;


import org.begincode.core.mapper.ResourceTypeMapper;
import org.begincode.core.model.ResourceType;
import org.begincode.resource.service.ResourceTypeService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ResourceTypeServiceImpl
        implements ResourceTypeService
{
    private Logger logger = LoggerFactory.getLogger(ResourceTypeServiceImpl.class);

    @Autowired
    ResourceTypeMapper resourceTypeMapper;

    public List<ResourceType> findResourceType() { return this.resourceTypeMapper.selectAll();
    }
}